"""
    定义corp应用的路由
"""

from django.urls import path
from . import views

app_name = 'corp'
urlpatterns = [
    path('index/', views.IndexView.as_view(), name='index'),  # 首页试图
    path('welcome/', views.WelcomeView.as_view(), name='welcome'),  # 欢迎视图
    # 订单信息视图
    path('booking_info', views.BookingInfoView.as_view(), name='booking_info'),
    path('get_booking_info', views.GetBookingInfoView.as_view(), name='get_booking_info'),
    path('booking_manage/', views.BookingManageView.as_view(), name='booking_manage'),
    path('add_booking/', views.AddBookingView.as_view(), name='add_booking'),
    path('edit_booking/', views.EditBookingView.as_view(), name='edit_booking'),
    path('add_tour/', views.AddTourView.as_view(), name='add_tour'),  # 增加行程视图
    path('booking_detail/', views.BookingDetailView.as_view(), name='booking_detail'),
    path('guests_detail/', views.GuestsDetailView.as_view(), name='guests_detail'),
]
